/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.capacitacionit.service;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Administrador
 */
public abstract class GenericService <T, PK extends Serializable> {

    public abstract T save(long id);

    public abstract T get(long id);

    public abstract List<T> getAll();

    public abstract void remove(long id);

    public abstract void update(T object);

}
